﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Wilke.SharePoint.Tools
{
    [Serializable]
    public enum WebConfigModificationType
    {
        // Summary:
        //     Specifies that the web.config modification must ensure a child node of the
        //     node to which the XPath expression points. Value = 0.
        EnsureChildNode = 0,
        //
        // Summary:
        //     Specifies that the web.config modification must ensure the value of a particular
        //     attribute. Value = 1.
        EnsureAttribute = 1,
        //
        // Summary:
        //     Ensures a singleton node. This node is only written once, even if multiple
        //     entities register multiple instances of EnsureSection to ensure a single
        //     section. Value = 2.
        EnsureSection = 2,
    }

    public enum WebConfigModificationAction
    {
        Remove = 0,
        Add = 1,
    }
}
